package bjut.zrpc.core.optimization.interfaces;


import bjut.zrpc.core.optimization.annotation.SPI;
import bjut.zrpc.core.optimization.message.ZRpcRequestMessage;

import java.util.List;

/**
 * @Author: zhuzhiming
 * @Date: 2022/6/24 19:57
 */
@SPI(value = "random")
public interface LoadBalance {
    String selectService(List<String> serviceList, ZRpcRequestMessage zRpcRequestMessage);
}
